<%@ page language="java" contentType="text/html; charset=utf-8"%>
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>Insert title here</title>
</head>
<body>
 <div>
 <h1>用户注册</h1>
  <form method="get" action="doRegister.jsp">
   <p>
   <input type="text" name="userName" placeholder="姓名"/>
   </p>
   <p>
   <input type="password" name="userPass" placeholder="密码"/>
   </p>
   <p>
   <input type="text" name="age" placeholder="年龄"/>
   </p>
   <p>
    爱好:<input type="checkbox" name="like" value="dancing"/>跳舞
    <input type="checkbox" name="like" value="sing"/>唱歌
    <input type="checkbox" name="like" value="game"/>游戏
    <input type="checkbox" name="like" value="sleep"/>睡觉
   </p>
   <p>
    <input type="submit" value="提交"/>
   </p>
  </form>
 </div>
</body>
</html>